package com.kyxx.topics.bean;

import java.io.Serializable;

public class TipOffBean implements Serializable{
    private String id;

    private String title;

    private long create_time;

    private int status;

    private String imgurl;

    public void setId(String id){
        this.id = id;
    }
    public String getId(){
        return this.id;
    }
    public void setTitle(String title){
        this.title = title;
    }
    public String getTitle(){
        return this.title;
    }
    public void setCreate_time(long create_time){
        this.create_time = create_time;
    }

    public long getCreate_time(){
        return this.create_time;
    }
    public void setStatus(int status){
        this.status = status;
    }
    public int getStatus(){
        return this.status;
    }
    public void setImgurl(String imgurl){
        this.imgurl = imgurl;
    }
    public String getImgurl(){
        return this.imgurl;
    }
    public String getType(){
        String s = "";
        switch (status){
            case -1:
                s = "未采纳";
                break;
            case 1:
                s = "已采纳";
                break;
            case 2:
                s = "待审核";
                break;
        }
        return s;
    }
}
